<template>
  <div>
    <!-- <Confirm title="提醒" text="确定删除吗亲?" /> -->
    <XtxButton @click="hClick">点击弹出</XtxButton>
  </div>
</template>

<script setup lang="ts">
import { Confirm } from '@/components/confirm';

// import Confirm from '@/components/confirm/confirm.vue';
const hClick = () => {
  Confirm({
    title: '标题!!!!',
    text: '我是内容!!!!'
  })
  .then(() => {
    console.log('用户点了确认')
  })
  .catch(() => {
    console.log('用户点了取消')
  })
}
</script>

<style scoped>

</style>